package net.udp;

import java.io.FileNotFoundException;

import core.Props;

public class UDPProps extends Props {

	private static Props instance = null; 
	private static String filename = "udp.props";
	private static String separator = "=";
	
	public static Props getInstance()
	{
		if(instance == null)
			instance = new UDPProps(filename, separator);
		return instance;
	}
	
	private UDPProps(String filename, String separator) {
		super(filename, separator);	
		try {
			read();
		} catch (FileNotFoundException e) {
			System.err.println("Error to reading "+filename+"");
			e.printStackTrace();
		}
	}
		
}
